﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace proyectoENS
{
    public class functionesGlobales
    {
        public static bool isNumeric(string strg)
        {
            bool result = false;
            for (int i = 0; i < strg.Length; i++)
            {
                if (char.IsNumber(strg, i))
                    result = true;
                else
                {
                    return false;
                    
                }
            }
            return result;
        }
    }
}
